<?php
# MENU.PHP
# Show left navigation
# Run as frame in index.php
session_start();
ob_start();

define('INDEX',true);
// Include required files
require("_config/config.php"); // Config file
require("_config/db_connection.php"); // DB Connection
require("common/functions_mysql.php"); // MySQL class
require("common/functions_common.php"); // Common functions
require("common/functions_jcas.php"); // jCAS's function
require("common/init.php"); // Initial file
require("common/lang_".$cfg['admin_language'].".php"); // Language file
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Menu</title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg['default_charset']?>">
<link href="css/style.css" rel="stylesheet" type="text/css">
<script language="javascript" type="text/javascript" src="js/functions.js"></script>
<style>
a {text-decoration:none;color:#EEEEEE;} 
a:active {text-decoration:none;color:#EEEEEE;}
a:visited {text-decoration:none;color:#EEEEEE;} 
a:link {text-decoration:none;color:#EEEEEE;}
a:hover {text-decoration:underline;color:#EEEEEE;} 
</style>
</head>
<body>
<div id="menu_wrapper">
	<div style="background-color:#000; text-align:center"><a href="admin.php?p=home" target="main">Administrator</a></div>
	 <?php echo menu_show_menu(); ?>
</div>
</body>
</html>
<?php
$DB->close();
ob_end_flush();
?>
